package com.hw.ui.relation_scanf;

import com.hw.base.present.BasePresenter;
import com.hw.bean.AbScanfBean;

public class RelationScanfPresent extends BasePresenter<RelationScanfModel, RelationScanfView> implements RelationScanfModel.CallBack {
    public void addcode(String string,AbScanfBean abScanfBean) {
        model.addCode(string,abScanfBean,this);
    }

    public void deletebox(String string,AbScanfBean abScanfBean) {
        model.deleteBox(string,abScanfBean,this);
    }

    @Override
    public void onupdate(AbScanfBean abScanfBean,String string) {
        view.uiupdate(abScanfBean,string);
    }

    @Override
    public void onFail(String str) {
        view.showres(str);
    }
}


